package com.easylinkin.linkappapi.tenant.mapper;

import com.easylinkin.linkappapi.tenant.entity.TenantRefDeviceUnit;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author TongJie
 * @since 2020-06-30
 */
public interface TenantRefDeviceUnitMapper extends BaseMapper<TenantRefDeviceUnit> {

    TenantRefDeviceUnit findByTenantIdAndDeviceUnitCode(@Param("tenantId") String tenantId, @Param("deviceUnitCode") String deviceUnitCode);
}
